﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.SmartMecial.Dtos
{
    public class OfficeTree
    {

        public int Id { get; set; }
        public string Name { get; set; }
        public int ParentId { get; set; }
        public string Code { get; set; }
        public int Level { get; set; }
        public string NodeType { get; set; } // "department", "ward", "nursingUnit"
        public List<OfficeTree> Children { get; set; } = new List<OfficeTree>();
    }
}
